package com.tinycloud.miracll.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 生产指令对象 生产指令记录表_主表
 * 
 * @author ruoyi
 * @date 2021-06-26
 */
public class ErpProductProdOrder extends BaseEntity
{
    private static final Long serialVersionUID = 1L;

    /** 指令编号 */
    @Excel(name = "指令编号")
    private String num;

    /** 生产订单号 */
    @Excel(name = "生产订单号")
    private String orderNum;

    /** 订单用途 */
    @Excel(name = "订单用途")
    private String purpose;

    /** 产线代码 */
    @Excel(name = "产线代码")
    private String prodLineCode;

    /** 物资编码 */
    @Excel(name = "物资编码")
    private String materialCode;

    /** 品管号 */
    @Excel(name = "品管号")
    private String qcNum;

    /** 批号 */
    @Excel(name = "批号")
    private String batchNum;

    /** 包装码 */
    @Excel(name = "包装码")
    private String packNum;

    /** 订单量 */
    @Excel(name = "订单量")
    private Long orderVolume;

    /** 入库成品量 */
    @Excel(name = "入库成品量")
    private Long storageCount;

    /** 工艺注意 */
    @Excel(name = "工艺注意")
    private String techNotice;

    /** SAP同步状态 */
    @Excel(name = "SAP同步状态")
    private String sapStatus;

    /** 关闭指令表 */
    @Excel(name = "关闭指令表")
    private String comStatus;

    /** SCADA同步状态 */
    @Excel(name = "SCADA同步状态")
    private String scadaStatus;

    /** 釜位 */
    @Excel(name = "釜位")
    private String kettlePosition;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderStatus;

    /** 预计产量 */
    @Excel(name = "预计产量")
    private Long expectCount;

    /** 产品类别 */
    @Excel(name = "产品类别")
    private String productType;

    /** 装置 */
    @Excel(name = "装置")
    private String device;

    /** 关闭时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "关闭时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date closeTime;

    /** 开车料量 */
    @Excel(name = "开车料量")
    private Long drivingMaterialCount;

    /** 成品率 */
    @Excel(name = "成品率")
    private Long finishYield;

    /** 机头料量 */
    @Excel(name = "机头料量")
    private Long headstockCount;

    /** 收率 */
    @Excel(name = "收率")
    private Long yield;

    /** 关闭人 */
    @Excel(name = "关闭人")
    private String closeUser;

    /** 大片率 */
    @Excel(name = "大片率")
    private Long blockbusterYield;

    /** 开车料率 */
    @Excel(name = "开车料率")
    private Long drivingMaterialYield;

    /** 产线状态 */
    @Excel(name = "产线状态")
    private String lineStatus;

    /** 料仓序号 */
    @Excel(name = "料仓序号")
    private String feedbinNum;

    /** 牌号 */
    @Excel(name = "牌号")
    private String shopSign;

    /** 定制标签 */
    @Excel(name = "定制标签")
    private String customLabel;

    /** 单件体积 */
    @Excel(name = "单件体积")
    private Long volume;

    /** 研发实验 */
    @Excel(name = "研发实验")
    private String experiment;

    /** ExcelServerRCID */
    @Excel(name = "ExcelServerRCID")
    private String excelServerRCID;

    public void setNum(String num) 
    {
        this.num = num;
    }

    public String getNum() 
    {
        return num;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setPurpose(String purpose) 
    {
        this.purpose = purpose;
    }

    public String getPurpose() 
    {
        return purpose;
    }
    public void setProdLineCode(String prodLineCode) 
    {
        this.prodLineCode = prodLineCode;
    }

    public String getProdLineCode() 
    {
        return prodLineCode;
    }
    public void setMaterialCode(String materialCode) 
    {
        this.materialCode = materialCode;
    }

    public String getMaterialCode() 
    {
        return materialCode;
    }
    public void setQcNum(String qcNum) 
    {
        this.qcNum = qcNum;
    }

    public String getQcNum() 
    {
        return qcNum;
    }
    public void setBatchNum(String batchNum) 
    {
        this.batchNum = batchNum;
    }

    public String getBatchNum() 
    {
        return batchNum;
    }
    public void setPackNum(String packNum) 
    {
        this.packNum = packNum;
    }

    public String getPackNum() 
    {
        return packNum;
    }
    public void setOrderVolume(Long orderVolume) 
    {
        this.orderVolume = orderVolume;
    }

    public Long getOrderVolume() 
    {
        return orderVolume;
    }
    public void setStorageCount(Long storageCount) 
    {
        this.storageCount = storageCount;
    }

    public Long getStorageCount() 
    {
        return storageCount;
    }
    public void setTechNotice(String techNotice) 
    {
        this.techNotice = techNotice;
    }

    public String getTechNotice() 
    {
        return techNotice;
    }
    public void setSapStatus(String sapStatus) 
    {
        this.sapStatus = sapStatus;
    }

    public String getSapStatus() 
    {
        return sapStatus;
    }
    public void setComStatus(String comStatus) 
    {
        this.comStatus = comStatus;
    }

    public String getComStatus() 
    {
        return comStatus;
    }
    public void setScadaStatus(String scadaStatus) 
    {
        this.scadaStatus = scadaStatus;
    }

    public String getScadaStatus() 
    {
        return scadaStatus;
    }
    public void setKettlePosition(String kettlePosition) 
    {
        this.kettlePosition = kettlePosition;
    }

    public String getKettlePosition() 
    {
        return kettlePosition;
    }
    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }
    public void setExpectCount(Long expectCount) 
    {
        this.expectCount = expectCount;
    }

    public Long getExpectCount() 
    {
        return expectCount;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setDevice(String device) 
    {
        this.device = device;
    }

    public String getDevice() 
    {
        return device;
    }
    public void setCloseTime(Date closeTime) 
    {
        this.closeTime = closeTime;
    }

    public Date getCloseTime() 
    {
        return closeTime;
    }
    public void setDrivingMaterialCount(Long drivingMaterialCount) 
    {
        this.drivingMaterialCount = drivingMaterialCount;
    }

    public Long getDrivingMaterialCount() 
    {
        return drivingMaterialCount;
    }
    public void setFinishYield(Long finishYield) 
    {
        this.finishYield = finishYield;
    }

    public Long getFinishYield() 
    {
        return finishYield;
    }
    public void setHeadstockCount(Long headstockCount) 
    {
        this.headstockCount = headstockCount;
    }

    public Long getHeadstockCount() 
    {
        return headstockCount;
    }
    public void setYield(Long yield) 
    {
        this.yield = yield;
    }

    public Long getYield() 
    {
        return yield;
    }
    public void setCloseUser(String closeUser) 
    {
        this.closeUser = closeUser;
    }

    public String getCloseUser() 
    {
        return closeUser;
    }
    public void setBlockbusterYield(Long blockbusterYield) 
    {
        this.blockbusterYield = blockbusterYield;
    }

    public Long getBlockbusterYield() 
    {
        return blockbusterYield;
    }
    public void setDrivingMaterialYield(Long drivingMaterialYield) 
    {
        this.drivingMaterialYield = drivingMaterialYield;
    }

    public Long getDrivingMaterialYield() 
    {
        return drivingMaterialYield;
    }
    public void setLineStatus(String lineStatus) 
    {
        this.lineStatus = lineStatus;
    }

    public String getLineStatus() 
    {
        return lineStatus;
    }
    public void setFeedbinNum(String feedbinNum) 
    {
        this.feedbinNum = feedbinNum;
    }

    public String getFeedbinNum() 
    {
        return feedbinNum;
    }
    public void setShopSign(String shopSign) 
    {
        this.shopSign = shopSign;
    }

    public String getShopSign() 
    {
        return shopSign;
    }
    public void setCustomLabel(String customLabel) 
    {
        this.customLabel = customLabel;
    }

    public String getCustomLabel() 
    {
        return customLabel;
    }
    public void setVolume(Long volume) 
    {
        this.volume = volume;
    }

    public Long getVolume() 
    {
        return volume;
    }
    public void setExperiment(String experiment) 
    {
        this.experiment = experiment;
    }

    public String getExperiment() 
    {
        return experiment;
    }
    public void setExcelServerRCID(String excelServerRCID) 
    {
        this.excelServerRCID = excelServerRCID;
    }

    public String getExcelServerRCID() 
    {
        return excelServerRCID;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("createTime", getCreateTime())
            .append("num", getNum())
            .append("orderNum", getOrderNum())
            .append("purpose", getPurpose())
            .append("prodLineCode", getProdLineCode())
            .append("materialCode", getMaterialCode())
            .append("qcNum", getQcNum())
            .append("batchNum", getBatchNum())
            .append("packNum", getPackNum())
            .append("orderVolume", getOrderVolume())
            .append("storageCount", getStorageCount())
            .append("techNotice", getTechNotice())
            .append("sapStatus", getSapStatus())
            .append("comStatus", getComStatus())
            .append("scadaStatus", getScadaStatus())
            .append("kettlePosition", getKettlePosition())
            .append("orderStatus", getOrderStatus())
            .append("expectCount", getExpectCount())
            .append("productType", getProductType())
            .append("device", getDevice())
            .append("closeTime", getCloseTime())
            .append("drivingMaterialCount", getDrivingMaterialCount())
            .append("finishYield", getFinishYield())
            .append("headstockCount", getHeadstockCount())
            .append("yield", getYield())
            .append("closeUser", getCloseUser())
            .append("blockbusterYield", getBlockbusterYield())
            .append("drivingMaterialYield", getDrivingMaterialYield())
            .append("lineStatus", getLineStatus())
            .append("feedbinNum", getFeedbinNum())
            .append("shopSign", getShopSign())
            .append("customLabel", getCustomLabel())
            .append("volume", getVolume())
            .append("experiment", getExperiment())
            .append("excelServerRCID", getExcelServerRCID())
            .toString();
    }
}
